package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 培训资料文件表
 * </p>
 *
 * @author hpiggy
 * @since 2025-08-06
 */
@TableName("skill_means_files")
@ApiModel(value = "SkillMeansFiles对象", description = "培训资料文件表")
@Data
public class SkillMeansFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("对应student_video表id")
    private Long teacherSportsId;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件大小kb")
    private Integer fileSize;

    @ApiModelProperty("1上传文件，2是外链")
    private Integer type;

    @ApiModelProperty("上传的文件路径")
    private String filePath;

    @ApiModelProperty("文件链接【外链】")
    private String fileLink;

    @ApiModelProperty("0未审核，1审核通过，2审核不通过")
    private Integer status;
    @ApiModelProperty("创建人id")
    private Long createdId;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    private Integer deleted;


}
